package org.han.entity;

import java.util.HashSet;
import java.util.Set;

import org.hibernate.SQLQuery;
import org.hibernate.transform.ResultTransformer;
import org.hibernate.transform.Transformers;

import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ResultTreeType;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer UId;
	private String UName;
	private String UPwd;
	private Set logs = new HashSet(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String UName, String UPwd) {
		this.UName = UName;
		this.UPwd = UPwd;
	}

	/** full constructor */
	public User(String UName, String UPwd, Set logs) {
		this.UName = UName;
		this.UPwd = UPwd;
		this.logs = logs;
	}

	// Property accessors

	public Integer getUId() {
		return this.UId;
	}

	public void setUId(Integer UId) {
		this.UId = UId;
	}

	public String getUName() {
		return this.UName;
	}

	public void setUName(String UName) {
		this.UName = UName;
	}

	public String getUPwd() {
		return this.UPwd;
	}

	public void setUPwd(String UPwd) {
		this.UPwd = UPwd;
	}

	public Set getLogs() {
		return this.logs;
	}

	public void setLogs(Set logs) {
		this.logs = logs;
	}

}